package com.beone.admin.service;

import com.beone.admin.entity.ImportDetail;
import com.base.ISuperService;
import com.beone.admin.utils.PaginationGatagridTable;

import java.util.Date;
import java.util.List;

/**
 * @Title 导入记录明细 服务类
 * @Author 秦波
 * @Version 1.0 on 2019-06-10
 * @Copyright 贝旺科权
 */
public interface ImportDetailService extends ISuperService<ImportDetail> {

    /**
    * 分页显示导入记录明细列表
    * @param entity
    * @param currPage  当前页码
    * @param pageSize  每页显示记录数
    * @return
    */
    PaginationGatagridTable getImportDetailPagination(ImportDetail entity, int currPage, int pageSize);

    List<ImportDetail> getImportDetailList(Integer templateId, Date startDate, Date endDate);
}
